//
//  HWCoverVerticalTransition.h
//  OCDome
//
//  Created by 李含文 on 2020/10/12.
//  Copyright © 2020 李含文. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN

@interface HWCoverVerticalTransition : NSObject<UIViewControllerTransitioningDelegate,UIViewControllerAnimatedTransitioning>



/// 自定义转场动画
/// @param viewController 转场控制器
- (instancetype)initPresentViewController:(UIViewController*)viewController;
/// 自定义转场动画
/// @param viewController 转场控制器
/// @param enabel 内容是否滑动响应手势
- (instancetype)initPresentViewController:(UIViewController*)viewController withRragDismissEnabal:(BOOL)enabel;

/* 背景是否可交互 默认:YES */
@property (nonatomic, assign) BOOL backgroundUserInteractionEnabled;

/* 遮罩背景颜色 默认:[UIColor.blackColor colorWithAlphaComponent:0.4]*/
@property (nonatomic, strong) UIColor *coverBackgroundColor;

@end

NS_ASSUME_NONNULL_END
